
import http from "./http.request.js";

const install = (app, options) => {
  // 接口列表
  app.config.globalProperties.$api = {
    
    image: param => http.baseURL + '/image/' + param + '.png', // 获取图片

    chartList: param => http.get('/chart/list', param), // 列表
    chartDetail: param => http.get('/chart/detail', param), // 详情
  }
}

export default {
  install
}

